package com.spark.jwt.model;

import lombok.Data;

import java.io.Serializable;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-21 8:12
 */
@Data
public class UserInfo implements Serializable {
    public Long userId;
    public String name;
    public String avatar;

    public UserInfo() {
    }

    public UserInfo(Long userId, String name) {
        this.userId = userId;
        this.name = name;
    }
}
